<?php echo form_open('cancellazione/cancella_dipartimento');?>
<input type="text" name="id" value="" placeholder="inserisci id"/>
<?php echo '<b>ID dipartimento da cancellare<br/>';
echo '<div><input type="submit" value="Cancella!" /></div>';
print '<table border=1, caption=dipartimento>';
echo '<tr><td><h3><b>ID</h3></td><td><h3><b>NOME</h3></td><tr/>';
foreach($dipartimento as $d):
echo '<tr><td>'.$d['id'].'</td><td>'.$d['nome'].'</td><tr/>';

endforeach;
print '</table>';
echo form_close(); ?>